home *** CD-ROM | disk | FTP | other *** search
/ RComp HTML Edit Studio for RISC OS / RComp HTML Edit Studio for RISC OS.iso / ZIPS / WXL.ZIP / HTMLEdit / !WebsterXL / !Run < prev    next >
Encoding:
Text File  |  2006-05-11  |  3.9 KB  |  81 lines

  1. Set WXL$OS4 1
  2. RMEnsure UtilityModule 3.80 Set WXL$OS4 0
  3. IF "<WXL$OS4>" = 0 Then IconSprites <Obey$Dir>.!Sprites Else IconSprites <Obey$Dir>.!SpritesR4
  4. Unset WXL$OS4
  5. |
  6. Set File$Type_FAF HTML
  7. Set Alias$@RunType_FAF Run <Obey$Dir>.!Run %%*0
  8. Set Alias$@RunType_B28 Run <Obey$Dir>.!Run %%*0
  9. Set Alias$@PlugInType_FAF Run <Obey$Dir>.!Run -plugin
  10. Set PlugIn$About_FAF <Obey$Dir>.About
  11. Set PlugIn$Type_FAF WebsterXL
  12. |
  13. IF "<Wimp$ScrapDir>" = "" Then ERROR 0 Scrap Application has not been seen
  14. |
  15. WimpSlot -min 750K -max 750K
  16. |
  17. Set Wimp$Version 310
  18. RmEnsure UtilityModule 3.00 Set Wimp$Version 200
  19. IF "<Wimp$Version>" = "310" Then RmEnsure UtilityModule 3.10 Set Wimp$Version 300
  20. IF "<Wimp$Version>" = "200" Then Error 0 Sorry, this application won't work on RISC OS 2.
  21. Set Window$Version 381
  22. RmEnsure WindowManager 3.81 Set Window$Version 370
  23. |
  24. | Options (Put minus infront to disable, Plus to enable or set)
  25. | DA - Dynamic areas
  26. | JP - SpriteExtend module for JPEGs (-JP Forces use of the Converter)
  27. | NK - Controls extra keyboard short cuts.
  28. | BI - enable background image filling in when there are further pages to open
  29. | BD - Enables Cacheing of local file information
  30. | IB - -ve Turns the infobar off
  31. | TB - If -ve, the default is that the toolbar is hidden
  32. | BB - -ve turns button part of toolbar off (+BB turns that bit on)
  33. | UB - -ve turns url part of toolbar off (+UB turns that bit on)
  34. | SI - -ve Disables Javascript includes (the SCRIPT tags SRC paramater)
  35. | IF - Enable use of ImageFS when loaded
  36. | LI - Cache local images
  37. | TA - Enhanced text areas
  38. |
  39. Set WebsterXL$Options -DA -NK +BI +JP +BD +TB +LI +TA
  40. RMEnsure UtilityModule 5.00 Set WebsterXL$Options +DA -NK +BI -JP +BD +TB +LI +TA
  41. |
  42. Set WXLScrapCache$Path <Wimp$ScrapDir>.WWW.WebsterXL.
  43. IF "<WebsterXL$CacheDir>" = "" Then IF "<Wimp$ScrapDir>" <> "" Then CDir <Wimp$ScrapDir>.WWW
  44. IF "<WebsterXL$CacheDir>" = "" Then IF "<Wimp$ScrapDir>" <> "" Then CDir <Wimp$ScrapDir>.WWW.WebsterXL
  45. IF "<WebsterXL$CacheDir>" = "" Then IF "<Wimp$ScrapDir>" <> "" Then Set WebsterXL$CacheDir WXLScrapCache:Cache
  46. IF "<WebsterXL$CacheDir>" = "" Then Set WebsterXL$CacheDir <Obey$Dir>.Cache
  47.  
  48. IF "<WebsterXL$XCacheDir>" = "" Then IF "<Wimp$ScrapDir>" <> "" Then Set WebsterXL$XCacheDir WXLScrapCache:XCache
  49. IF "<WebsterXL$XCacheDir>" = "" Then Set WebsterXL$XCacheDir <Obey$Dir>.XCache
  50.  
  51. IF "<WebsterXL$Choices>" = "" Then IF "<Choices$Write>" <> "" Then Set WebsterXL$Choices <Choices$Write>.WWW.WebsterXL.Choices
  52. IF "<WebsterXL$Choices>" = "" Then Set WebsterXL$Choices <Obey$Dir>.Choices
  53. IF "<Choices$Write>" <> "" Then Set WebsterXLChoices$Path <Choices$Write>.WWW.WebsterXL.Choices.,<Obey$Dir>.Choices.
  54. IF "<WebsterXLChoices$Path>" = "" Then Set WebsterXLChoices$Path <Wimp$ScrapDir>.WebsterXL.Choices.,<Obey$Dir>.Choices.
  55.  
  56. IF "<WebsterXL$HotLists>" = "" Then IF "<Choices$Write>" <> "" Then Set WebsterXL$HotLists <Choices$Write>.WWW.WebsterXL.HotLists
  57. IF "<WebsterXL$HotLists>" = "" Then Set WebsterXL$HotLists  <Obey$Dir>.HotLists
  58. IF "<Choices$Write>" <> "" Then Set WebsterXLHotList$Path <Choices$Write>.WWW.WebsterXL.HotLists.,<Obey$Dir>.HotLists.
  59. If "<WebsterXLHotList$Path>" = "" Then Set WebsterXLHotList$Path <Obey$Dir>.HotLists.
  60.  
  61. IF "<WebsterXL$Cookiedir>" = "" Then IF "<Choices$Write>" <> "" Then Set WebsterXL$Cookiedir <Choices$Write>.WWW.WebsterXL.Choices
  62. IF "<WebsterXL$Cookiedir>" = "" Then Set WebsterXL$Cookiedir <Obey$Dir>.Choices
  63. |
  64. Set WebsterXL$Fetch <Obey$Dir>.Fetchers
  65. Set WebsterXL$Dir <Obey$Dir>
  66. |
  67. |Set WebsterXL$Path
  68. <Obey$Dir>.Resources.SetPath WebsterXL$Path <WebsterXL$Dir> WebsterXL ChangeFSI$Dir
  69. |
  70. RMEnsure UtilityModule 4.40 WebsterXL:RMOneOf X-Files 0.58 WebFS 1.58 WebsterXL:WebFS
  71. RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
  72. |
  73. Set Alias$URLOpen_HTTP   WebsterXL:!RunURL %%*0
  74. Set Alias$URLOpen_FTP    WebsterXL:!RunURL %%*0
  75. Set Alias$URLOpen_File   WebsterXL:!RunURL %%*0
  76. Set Alias$Open_URI_http  WebsterXL:!Run -plugin
  77. |
  78. WimpSlot -min 880K -max 880K
  79. |WimpSlot -min 3000k
  80. Run <Obey$Dir>.!RunImage2 %*0